package com.gimi.cloud.bbp.manage.service.sys;

import com.gimi.cloud.bbp.common.exception.MsgException;
import com.gimi.cloud.bbp.dto.sys.SysAuthorityDTO;
import com.gimi.cloud.bbp.dto.sys.SysMenuDTO;
import com.gimi.cloud.bbp.dto.params.AuthListParams;
import com.gimi.cloud.bbp.dto.params.DoAuthParams;
import com.gimi.cloud.bbp.dto.params.MasterListParams;

import java.util.List;
import java.util.Map;

/**
 * Created by shazhiwei on 2017/12/18.
 */
public interface AuthService {
    List<Map<String,Object>> getAuthList(AuthListParams params);

    List<SysMenuDTO> getAuthTree(AuthListParams params);

    void doAuth(DoAuthParams params) throws MsgException;
}
